﻿using Newtonsoft.Json.Linq;
using System.Net;

namespace Bilibili.Model.Resource
{
    public sealed class ReturnJObject
    {
        public int Code { get; set; }
        public string Message { get; set; } = "未知原因";
        public string Msg { get; set; } = "未知原因";
        public JObject Json { get; set; }
        public JObject Data { get; set; }
    }
    public sealed class ReturnModel<T>
    {
        public bool Success { get; set; }
        public CookieCollection Cookies { get; set; }
        public string Message { get; set; } = "未知原因";
        public T Data { get; set; }
    }
    public sealed class ReturnModel
    {
        public bool Success { get; set; }
        public string Message { get; set; } = "未知原因";
        public dynamic Data { get; set; }
    }
}